package com.obuge.yfly.dto.Login;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Value;

@Data
@ApiModel(value="用户登录",description="用户登录请求")
public class LoginReqDto {
    //private Long roadId;
    @ApiModelProperty(value = "用户名",name="userName")
    @NotBlank(message = "用户名不能未空")
    private String userName;

    @ApiModelProperty(value = "密码",name="passWord")
    @NotBlank(message = "密码不能未空")
    private String passWord;

    @ApiModelProperty(value = "登录平台",name="platform")
    private String platform;
}
